:root{--wh-cm-anchor-bg:#ffd40024;--wh-cm-anchor-line:#ffd400cc;--wh-cm-anchor-active-bg:#ffd4008f;--wh-cm-anchor-active-line:#ffc400;--wh-cm-card-bg:var(--wh-bg-elevated);--wh-cm-card-shadow:#0f0f0f0a 0 0 0 1px, #0f0f0f08 0 3px 6px, #0f0f0f0f 0 9px 24px;--wh-cm-sidebar-width:385px}:root[data-theme=dark]{--wh-cm-anchor-bg:#ffd4001a;--wh-cm-anchor-line:#ffd4008c;--wh-cm-anchor-active-bg:#ffd4004d;--wh-cm-anchor-active-line:#ffd400e6;--wh-cm-card-shadow:#0f0f0f33 0 0 0 1px, #0f0f0f33 0 3px 6px, #0f0f0f66 0 9px 24px}.wh-comment{transition:background .12s ease-in,border-color .12s ease-in}.wh-comment.wh-comment-flash{background:var(--wh-cm-anchor-active-bg)!important}.wh-page.wh-page-margin-comments{--wh-ed-margin:minmax(96px, 1fr)}.wh-page.wh-page-margin-comments .wh-page-layout{grid-template-columns:[full-start] minmax(96px, 1fr) [content-start] var(--wh-ed-content) [content-end] minmax(calc(280px + 48px + 40px), 1fr) [full-end]}.wh-page-with-comments{flex:1;min-width:0;min-height:0;display:flex}.wh-page-with-comments>.wh-scroller{min-width:0}.wh-thread{color:var(--wh-text);border-radius:10px;font-size:14px;line-height:1.45}.wh-thread-margin{cursor:default;padding:6px 8px 4px;transition:background .1s ease-in,box-shadow .1s ease-in}.wh-thread-margin.wh-thread-hover{background:var(--wh-hover)}.wh-thread-margin.wh-thread-active{background:var(--wh-cm-card-bg);box-shadow:var(--wh-cm-card-shadow)}.wh-thread-sidebar,.wh-thread-popover{padding:8px 10px 6px}.wh-thread-popover+.wh-thread-popover,.wh-thread-page+.wh-thread-page{border-top:1px solid var(--wh-divider)}.wh-thread-page{padding:8px 0 6px}.wh-thread-context{text-align:left;width:100%;color:var(--wh-text-secondary);gap:8px;margin:0 0 8px;padding:0;font-size:13px;display:flex}.wh-thread-context-bar{background:var(--wh-cm-anchor-line);border-radius:2px;flex:0 0 3px}.wh-thread-resolved .wh-thread-context-bar{background:var(--wh-divider)}.wh-thread-context-text{-webkit-line-clamp:3;white-space:pre-wrap;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.wh-thread-kind{color:var(--wh-text-tertiary);padding:0 10px;font-size:12px}.wh-comment-item{padding:4px 0 6px;position:relative}.wh-comment-head{align-items:center;gap:8px;min-height:26px;display:flex}.wh-comment-author{white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.wh-comment-time{color:var(--wh-text-tertiary);white-space:nowrap;font-size:12px}.wh-comment-actions{opacity:0;background:var(--wh-cm-card-bg);border-radius:6px;gap:2px;transition:opacity .1s ease-in;display:flex;position:absolute;top:3px;right:0}.wh-comment-item:hover .wh-comment-actions,.wh-comment-actions:focus-within{opacity:1}.wh-comment-action{width:26px;height:26px;color:var(--wh-icon-secondary);border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.wh-comment-action:hover{background:var(--wh-hover)}.wh-comment-text{white-space:pre-wrap;word-break:break-word;padding-left:32px}.wh-comment-text .wh-link{color:inherit;text-decoration:underline;-webkit-text-decoration-color:var(--wh-link-underline);text-decoration-color:var(--wh-link-underline)}.wh-comment-text .wh-token-u,.wh-composer-input .wh-token-u{color:var(--wh-text-secondary);font-weight:500}.wh-comment-text .wh-inline-code{font-family:var(--wh-font-code);background:var(--wh-inline-code-bg);color:var(--wh-inline-code-text);border-radius:4px;padding:.2em .4em;font-size:85%}.wh-comment-edit{margin:4px 0 0 32px}.wh-thread-more{color:var(--wh-text-secondary);margin:2px 0 2px 32px;font-size:13px}.wh-thread-more:hover{text-decoration:underline}.wh-thread-resolved-note{border:1px solid var(--wh-divider);color:var(--wh-text-secondary);border-radius:8px;justify-content:space-between;align-items:center;margin:4px 0 2px 32px;padding:6px 10px;font-size:13px;display:flex}.wh-thread-reopen{color:var(--wh-text);border-radius:6px;align-items:center;gap:4px;padding:2px 6px;display:inline-flex}.wh-thread-reopen:hover{background:var(--wh-hover)}.wh-reactions{flex-wrap:wrap;gap:4px;margin:6px 0 0 32px;display:flex}.wh-reaction{height:24px;color:var(--wh-text-secondary);box-shadow:inset 0 0 0 1px var(--wh-divider);border-radius:999px;align-items:center;gap:4px;padding:0 8px;font-size:12px;display:inline-flex}.wh-reaction:hover:not(:disabled){background:var(--wh-hover)}.wh-reaction-mine{color:var(--wh-accent-text);background:#2383e212;box-shadow:inset 0 0 0 1px #2383e280}.wh-reaction-emoji{font-family:var(--wh-font-emoji), sans-serif;font-size:14px}.wh-reaction-add{padding:0 6px}.wh-quick-reactions{gap:2px;padding:6px 8px 0;display:flex}.wh-quick-reactions button{border-radius:6px;width:32px;height:32px;font-size:18px}.wh-quick-reactions button:hover{background:var(--wh-hover)}.wh-composer{align-items:flex-start;gap:8px;padding:6px 0 2px;display:flex;position:relative}.wh-composer>.wh-cm-avatar{margin-top:2px}.wh-composer-field{flex:1;min-width:0;position:relative}.wh-composer-input{white-space:pre-wrap;word-break:break-word;outline:none;min-height:28px;max-height:240px;padding:3px 2px;font-size:14px;line-height:1.5;overflow-y:auto}.wh-composer-input[data-empty]:before{content:attr(data-placeholder);color:var(--wh-text-placeholder);pointer-events:none;position:absolute}.wh-composer-actions{align-items:center;gap:4px;padding-top:2px;display:flex}.wh-composer-icon{width:24px;height:24px;color:var(--wh-icon-secondary);border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.wh-composer-icon:hover{background:var(--wh-hover)}.wh-composer-send{background:var(--wh-accent);color:#fff;border-radius:999px;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.wh-composer-send:disabled{background:var(--wh-bg-tertiary);color:var(--wh-text-disabled)}.wh-composer-text-btn{height:26px;color:var(--wh-text-secondary);box-shadow:inset 0 0 0 1px var(--wh-divider);border-radius:6px;padding:0 8px;font-size:13px}.wh-composer-text-btn:hover{background:var(--wh-hover)}.wh-composer-primary{background:var(--wh-accent);color:#fff;box-shadow:none}.wh-composer-primary:hover{background:var(--wh-accent-hover)}.wh-composer-primary:disabled{opacity:.4}.wh-comment-edit.wh-composer{box-shadow:inset 0 0 0 1px var(--wh-divider);border-radius:8px;flex-direction:column;align-items:stretch;padding:6px 8px}.wh-comment-edit .wh-composer-actions{justify-content:flex-end}.wh-composer-mentions{z-index:10;background:var(--wh-bg-popover);width:240px;box-shadow:var(--wh-shadow-popover);border-radius:10px;padding:4px;position:absolute;top:100%;left:0}.wh-composer-mention{cursor:pointer;border-radius:6px;align-items:center;gap:8px;height:30px;padding:0 8px;display:flex}.wh-composer-mention-active{background:var(--wh-hover)}.wh-thread-reply{margin-top:2px}.wh-cm-avatar{color:#fff;object-fit:cover;-webkit-user-select:none;user-select:none;border-radius:999px;flex:none;justify-content:center;align-items:center;font-weight:600;display:inline-flex}.wh-cm-margin{z-index:2;height:0;position:absolute;top:0}.wh-cm-margin-item{transition:top .15s ease-out;position:absolute;left:0;right:0}.wh-cm-bubble{z-index:2;height:24px;color:var(--wh-text-secondary);border-radius:6px;align-items:center;gap:3px;padding:0 6px;font-size:13px;display:inline-flex;position:absolute}.wh-cm-bubble:hover,.wh-cm-bubble-open{background:var(--wh-hover)}.wh-cm-popover{width:380px;max-height:min(560px,70vh);padding:4px;overflow-y:auto}.wh-cm-new{width:400px}.wh-cm-new-inner{padding:4px 10px}.wh-page-discussions{border-bottom:1px solid var(--wh-divider);margin:4px 0 8px;padding-bottom:6px}.wh-comments-sidebar{flex:0 0 var(--wh-cm-sidebar-width);width:var(--wh-cm-sidebar-width);border-left:1px solid var(--wh-divider);background:var(--wh-bg);flex-direction:column;min-height:0;display:flex}.wh-comments-sidebar-head{justify-content:space-between;align-items:center;padding:10px 10px 4px 16px;display:flex}.wh-comments-sidebar-title{font-size:14px;font-weight:600}.wh-comments-tabs{border-bottom:1px solid var(--wh-divider);gap:4px;padding:4px 12px 8px;display:flex}.wh-comments-tab{height:28px;color:var(--wh-text-secondary);border-radius:6px;align-items:center;gap:6px;padding:0 8px;font-size:14px;display:inline-flex}.wh-comments-tab:hover{background:var(--wh-hover)}.wh-comments-tab-on{color:var(--wh-text);background:var(--wh-hover);font-weight:500}.wh-comments-tab-count{color:var(--wh-text-tertiary);font-size:12px}.wh-comments-sidebar-list{flex:1;min-height:0;padding:8px 6px 24px;overflow-y:auto}.wh-comments-sidebar-item{padding:6px 0}.wh-comments-sidebar-item+.wh-comments-sidebar-item{border-top:1px solid var(--wh-divider)}.wh-comments-sidebar-item .wh-thread-sidebar.wh-thread-active{background:var(--wh-hover)}.wh-comments-empty{color:var(--wh-text-tertiary);text-align:center;flex-direction:column;align-items:center;gap:8px;padding:48px 24px;font-size:14px;display:flex}.wh-comments-empty-hint{font-size:12px}.wh-icon-btn-on{background:var(--wh-hover)}@media (max-width:900px){.wh-comments-sidebar{top:var(--wh-topbar-height,45px);z-index:20;max-width:100vw;box-shadow:var(--wh-shadow-popover);position:fixed;bottom:0;right:0}}
