.comment-presets{border:1px solid var(--border,#dce5ee);border-radius:10px;background:var(--card-bg,#f7fafc);padding:12px;margin:0 0 18px}.comment-presets summary{cursor:pointer;font-weight:600;color:var(--primary,#1764d6)}.comment-presets p{font-size:12px;line-height:1.7;color:var(--text-sub,#62768a);margin:10px 0}.comment-presets .cip-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:16px}.comment-presets section{min-width:0}.comment-presets label{display:flex;flex-direction:column;gap:6px;font-size:13px;margin-bottom:10px}.comment-presets input,.comment-presets select,.comment-presets textarea{width:100%;box-sizing:border-box;min-width:0;font:inherit;padding:8px;border:1px solid var(--border,#dce5ee);border-radius:6px;background:var(--card-bg,#fff);color:inherit}.comment-presets select{min-height:150px;margin-top:8px}.comment-presets button{font:inherit;font-size:12px;border:1px solid var(--border,#cbd8e6);background:var(--card-bg,#fff);color:var(--primary,#1764d6);border-radius:6px;padding:7px 9px;cursor:pointer}.comment-presets button:disabled{opacity:.5;cursor:default}.comment-presets .cip-search,.comment-presets .cip-pager,.comment-presets .cip-actions{display:flex;gap:8px;align-items:center;margin-bottom:8px;flex-wrap:wrap}.comment-presets .cip-search{flex-wrap:nowrap}.comment-presets .cip-pager{justify-content:space-between;font-size:12px}.comment-presets .cip-error{color:#b42335}@media(max-width:700px){.comment-presets .cip-grid{grid-template-columns:minmax(0,1fr)}}

.comment-presets .cip-search button{flex-shrink:0;white-space:nowrap}
.comment-presets select[data-cip-mode]{min-height:0;margin:0}
.comment-presets .cip-diff{white-space:pre-wrap;font-size:12px;line-height:1.7;border:1px solid var(--border,#dce5ee);border-radius:6px;padding:9px;margin:8px 0;color:var(--text-sub,#62768a)}
.comment-presets [data-cip-name-hint]{color:var(--warning,#976c12);line-height:1.6}
.comment-presets [data-cip-metadata]{margin:4px 0 10px}
.comment-presets [data-cip-action=apply]{background:var(--primary-plain,#edf6fc);font-weight:600}
.comment-presets [data-cip-action=undo][hidden]{display:none}
