.ed-prose span.cm-hl{cursor:pointer;border-radius:var(--radius-compact)}.ed-prose span.cm-hl:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.ed-pagination-projection span.cm-hl:not([data-comment-resolved=true]){cursor:pointer;background:color-mix(in srgb,var(--accent-subtle) 65%,transparent);box-shadow:0 1px 0 color-mix(in srgb,var(--accent-subtle-strong) 65%,transparent);border-radius:var(--radius-compact);transition:background var(--motion-fast),box-shadow var(--motion-fast)}.ed-pagination-projection span.cm-hl:not([data-comment-resolved=true]):is(:hover,:focus){background:var(--accent-subtle-strong);box-shadow:0 1px 0 var(--accent)}.ed-pagination-projection span.cm-hl[data-comment-group-member=true],.ed-pagination-projection span.cm-hl[data-comment-group-member=true]:is(:hover,:focus){cursor:inherit;background:transparent;box-shadow:none;border-radius:0}.ed-pagination-projection span.cm-hl:focus-visible{outline:2px solid var(--accent);outline-offset:2px;box-shadow:0 0 0 1px var(--bg-surface),0 0 0 3px var(--accent)}.ed-prose span.cm-hl:has(.cm-hl-resolved){cursor:text;border-radius:0}.ed-prose span.cm-hl:has(.cm-hl-resolved):focus,.ed-prose span.cm-hl:has(.cm-hl-resolved):focus-visible{outline:none}.cm-hl-paint{position:relative;background:color-mix(in srgb,var(--accent-subtle) 65%,transparent);box-shadow:0 1px 0 color-mix(in srgb,var(--accent-subtle-strong) 65%,transparent);border-radius:0;transition:background var(--motion-fast),box-shadow var(--motion-fast)}.ed-prose span.cm-hl:focus .cm-hl-paint,.ed-prose span.cm-hl:hover .cm-hl-paint{background:var(--accent-subtle-strong);box-shadow:0 1px 0 var(--accent)}.cm-hl-paint--start{border-top-left-radius:3px;border-bottom-left-radius:3px}.cm-hl-paint--end{border-top-right-radius:3px;border-bottom-right-radius:3px}.ed-prose .cm-hl-resolved,.ed-prose span.cm-hl .cm-hl-resolved{background:transparent;box-shadow:none;cursor:text}.cm-hl-paint--active{background:var(--accent-subtle-strong);box-shadow:0 1px 0 var(--accent)}.cm-hl-paint--touch-start{box-shadow:inset 1px 0 var(--accent),0 1px 0 color-mix(in srgb,var(--accent-subtle-strong) 50%,transparent)}.cm-hl-paint--touch-end{box-shadow:inset -1px 0 var(--accent),0 1px 0 color-mix(in srgb,var(--accent-subtle-strong) 50%,transparent)}.cm-hl-paint--touch-start.cm-hl-paint--touch-end{box-shadow:inset 1px 0 var(--accent),inset -1px 0 var(--accent),0 1px 0 color-mix(in srgb,var(--accent-subtle-strong) 50%,transparent)}.cm-hl-paint--overlap:not(.cm-hl-paint--active){background:color-mix(in srgb,var(--accent) 20%,var(--accent-subtle));text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--accent) 55%,transparent);text-decoration-thickness:1px;text-underline-offset:2px}.cm-hl-badge-anchor{position:relative;display:inline}.cm-hl-badge{position:absolute;bottom:1.05em;left:1px;display:inline-flex;align-items:center;justify-content:center;min-width:15px;height:15px;padding:0 4px;border-radius:var(--radius-full);font-size:var(--text-2xs);font-weight:700;line-height:1;white-space:nowrap;background:var(--accent);color:var(--accent-fg,#fff);box-shadow:var(--shadow-sm);pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:0;visibility:hidden;transition:opacity var(--motion-fast),visibility var(--motion-fast)}.cm-hl-paint--active .cm-hl-badge,.ed-prose span.cm-hl:is(:hover,:focus) .cm-hl-badge{opacity:1;visibility:visible}.cm-hl--flash{animation:cm-hl-flash 1.6s ease}@keyframes cm-hl-flash{0%,55%{background:var(--accent-subtle-strong);box-shadow:0 0 0 3px var(--accent-subtle-strong)}to{background:transparent;box-shadow:none}}.icp{position:fixed;z-index:var(--z-panel);width:320px;max-width:calc(100vw - 16px);display:flex;flex-direction:column;background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);overflow:hidden}.icp:focus{outline:none}.icp-head{display:flex;align-items:center;gap:8px;padding:var(--space-2) var(--space-3);border-bottom:1px solid var(--border)}.icp-title{font-size:var(--type-helper);font-weight:700;color:var(--text-primary);flex:1}.icp-close{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:none;color:var(--text-secondary);padding:4px;border-radius:var(--radius-sm);cursor:pointer}.icp-close:hover{background:var(--bg-raised);color:var(--text-primary)}.icp-close svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.icp-quote{margin:var(--space-2) var(--space-3) 0}.icp-scroll{max-height:40vh;overflow-y:auto;padding:var(--space-2) var(--space-3);display:flex;flex-direction:column;gap:var(--space-2)}.icp-comment{padding-bottom:var(--space-2);border-bottom:1px solid var(--border)}.icp-comment:last-child{border-bottom:none;padding-bottom:0}.icp-actions{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3)}.icp .cr-reply-input,.icp-actions{border-top:1px solid var(--border)}.icp .cr-reply-input,.icp-add-btn{background:var(--bg-surface)}.icp-add-btn{position:fixed;z-index:var(--z-panel);display:inline-flex;align-items:center;gap:6px;font-size:var(--type-control);font-weight:600;font-family:inherit;padding:5px 10px;border-radius:var(--radius-full);border:1px solid var(--border);color:var(--text-secondary);box-shadow:var(--shadow-lg);cursor:pointer;white-space:nowrap}.icp-add-btn:hover{color:var(--accent);border-color:var(--accent)}.icp-add-btn svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}@media (pointer:coarse){.icp-add-btn,.icp-close{min-width:44px;min-height:44px}}.icp--composer{width:300px}.icp--composer .cr-reply-input{border-top:none}.ed-prose span.cm-hl.cm-hl--glow{background:color-mix(in srgb,var(--accent) 32%,transparent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 14%,transparent);border-radius:var(--radius-compact)}@media (prefers-reduced-motion:reduce){.cm-hl-paint,.ed-preview__body span.cm-hl{transition:none}.ed-prose span.cm-hl.cm-hl--flash{animation:none}}