.ProseMirror a:has(.link-chip-edit){text-decoration:none}.ProseMirror .link-chip-edit{background:color-mix(in srgb, var(--info) 9%, transparent);color:var(--info);-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:.4em;padding:.06em .4em .1em;font-weight:500}.ProseMirror .link-chip-edit:before{vertical-align:-.14em;content:"";width:.95em;height:.95em;-webkit-mask:var(--link-chip-icon) center / contain no-repeat;-webkit-mask:var(--link-chip-icon) center / contain no-repeat;mask:var(--link-chip-icon) center / contain no-repeat;--link-chip-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 17H7A5 5 0 0 1 7 7h2'/%3E%3Cpath d='M15 7h2a5 5 0 1 1 0 10h-2'/%3E%3Cline x1='8' x2='16' y1='12' y2='12'/%3E%3C/svg%3E");background:currentColor;margin-right:.28em;display:inline-block}.ProseMirror a[data-view] .link-chip-edit:before{content:none}
.link-bubble{z-index:40;border:1px solid var(--border);border-radius:var(--radius-field);background:var(--surface);max-width:100%;box-shadow:0 10px 28px -12px color-mix(in srgb, var(--fg) 35%, transparent);animation:link-bubble-in .14s var(--ease-brand) both;align-items:center;gap:2px;padding:4px;font-size:13px;display:flex;position:absolute}.link-bubble-url{max-width:14rem;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;padding:0 6px;overflow:hidden}.link-bubble-btn,.link-bubble-view{height:30px;color:var(--muted);transition:background-color .15s var(--ease-brand), color .15s var(--ease-brand);border-radius:8px;flex:none;justify-content:center;align-items:center;gap:5px;display:inline-flex}.link-bubble-btn{width:30px}.link-bubble-view{color:var(--fg);background:color-mix(in srgb, var(--fg) 5%, transparent);padding:0 8px;font-weight:600}.link-bubble svg{width:15px;height:15px}.link-bubble .link-bubble-chevron{width:13px;height:13px;color:var(--muted)}.link-bubble-btn:hover,.link-bubble-view:hover,.link-bubble-item:hover{background:color-mix(in srgb, var(--fg) 8%, transparent);color:var(--fg)}.link-bubble-sep{background:var(--border);width:1px;height:18px;margin:0 4px}.link-bubble-menu{border:1px solid var(--border);border-radius:var(--radius-field);background:var(--surface);min-width:11rem;box-shadow:0 14px 32px -14px color-mix(in srgb, var(--fg) 40%, transparent);flex-direction:column;padding:4px;display:flex;position:absolute;top:calc(100% + 6px);right:0}.link-bubble-item{text-align:left;height:34px;color:var(--fg);border-radius:8px;align-items:center;gap:10px;padding:0 10px;display:flex}.link-bubble-item svg{color:var(--muted)}.link-bubble-item[aria-checked=true],.link-bubble-item[aria-checked=true] svg{color:var(--primary)}.link-bubble-item span{flex:1}@keyframes link-bubble-in{0%{opacity:0;transform:translateY(-4px)}}@media (prefers-reduced-motion:reduce){.link-bubble{animation:none}}.ProseMirror a[data-view]:before{vertical-align:-.12em;content:"";width:.95em;height:.95em;-webkit-mask:var(--link-view-icon) center / contain no-repeat;-webkit-mask:var(--link-view-icon) center / contain no-repeat;mask:var(--link-view-icon) center / contain no-repeat;background:currentColor;margin-right:.25em;display:inline-block}.ProseMirror a[data-view=title]{--link-view-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7V4h16v3M9 20h6M12 4v16'/%3E%3C/svg%3E")}.ProseMirror a[data-view=card]{--link-view-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21'/%3E%3C/svg%3E")}.ProseMirror a[data-view=embed]{--link-view-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m10 8 6 4-6 4z'/%3E%3C/svg%3E")}.link-bubble-anchor{z-index:40;pointer-events:none;display:flex;position:absolute;left:0;right:0}.link-bubble-gap{flex:0 auto;min-width:0}.link-bubble-anchor>.link-bubble{pointer-events:auto;flex:none;min-width:0;position:relative}.link-bubble-anchor .link-bubble-url{flex:0 auto;min-width:0}.format-bubble{gap:1px}.format-bubble-btn[aria-pressed=true]{background:color-mix(in srgb, var(--primary) 14%, transparent);color:var(--primary)}.format-bubble-input{width:15rem;height:30px;color:var(--fg);background:0 0;border:0;outline:none;padding:0 8px;font-size:13px}.link-bubble-menu[data-up]{top:auto;bottom:calc(100% + 6px)}
