.diff-lines{overflow-x:auto;font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;border:1px solid var(--hairline,#ddd);border-radius:10px;margin-top:10px}.diff-line{display:grid;grid-template-columns:40px 40px minmax(0,1fr) 44px;min-width:100%;width:max-content;align-items:center;min-height:28px}.diff-line.added{background:#2da44e18}.diff-line.removed{background:#cf222e18}.diff-line.header{color:var(--subtle,#666);background:var(--field,#f3f3f3)}.diff-number{text-align:right;padding-right:8px;color:var(--subtle,#666);user-select:none}.diff-text{white-space:pre;font:inherit;padding:3px 8px}.diff-comment-action{min-width:44px;min-height:44px;padding:0;border:0;background:none;color:inherit}.diff-comment{padding:12px;max-width:min(600px,calc(100vw - 80px));font:14px/1.5 system-ui;white-space:normal}.diff-comment label,.diff-comment textarea{display:block;width:100%}.diff-comment button,.diff-footer button{min-height:44px;margin-right:8px}.diff-comment p:empty{display:none}

.wrap-diff-lines .diff-line{width:100%;align-items:start}.wrap-diff-lines .diff-text{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}
.diff-comment-card{box-sizing:border-box;max-width:min(600px,calc(100vw - 80px));margin:12px;padding:16px;border-radius:16px;background:var(--field,#eee);font:14px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:normal}.diff-comment-head{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid var(--hairline,#ddd)}.diff-comment-head svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.diff-comment-head span{margin-left:auto;color:var(--subtle,#666);font-size:12px}.diff-comment-card p{white-space:pre-wrap;overflow-wrap:anywhere}.diff-comment-card p:empty{display:none}.diff-comment-card textarea{width:100%;font:inherit}.diff-comment-actions{display:flex;justify-content:flex-end;gap:12px}.diff-comment-actions button{min-height:44px;background:none;border:0;color:inherit}.review-comment-path{font-size:12px;color:var(--subtle,#666);overflow-wrap:anywhere}.review-comment-source{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.review-comment-group{margin-bottom:20px}#review-comment-drafts{align-self:start;min-height:44px}
