/* ============================================================
   文章要点卡（右侧栏顶部，批注面板之上）
   ============================================================ */
.gm-digest{border:1px solid #121212;border-radius:4px;background:#fdfdfb;padding:18px 18px 14px;margin-bottom:22px;color:#121212;font-family:-apple-system,'PingFang SC','Noto Sans SC',sans-serif}
.gm-digest__head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:10px}
.gm-digest__head p{margin:0;font-family:'IBM Plex Mono',ui-monospace,Menlo,monospace;font-size:9.5px;letter-spacing:.22em;color:#FF4F00;text-transform:uppercase}
.gm-digest__head h2{margin:2px 0 0;font-family:'Noto Serif SC','Songti SC',serif;font-size:19px;letter-spacing:.06em}
.gm-digest__head span{font-family:'IBM Plex Mono',ui-monospace,Menlo,monospace;font-size:10px;color:#8a8a85;white-space:nowrap}
.gm-digest__intro{font-size:13px;line-height:1.7;color:#6a6a66;margin:0 0 12px}
.gm-digest__go{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;background:#121212;color:#f5f5f1;border:1px solid #121212;border-radius:3px;padding:10px 14px;font-size:14px;letter-spacing:.12em;cursor:pointer;font-family:inherit;transition:background .2s,border-color .2s}
.gm-digest__go:hover{background:#FF4F00;border-color:#FF4F00}
.gm-digest__go:focus-visible,.gm-digest button:focus-visible,.gm-digest a:focus-visible{outline:2px solid #FF4F00;outline-offset:2px}
/* 生成中 */
.gm-digest__wait p{font-size:12.5px;color:#6a6a66;margin:0 0 10px}
.gm-digest__skel{height:10px;border-radius:2px;background:linear-gradient(90deg,#ececea 25%,#f6f6f3 50%,#ececea 75%);background-size:200% 100%;animation:gmDigestShine 1.2s linear infinite;margin:8px 0}
.gm-digest__skel:nth-child(3){width:86%}.gm-digest__skel:nth-child(4){width:72%}.gm-digest__skel:nth-child(5){width:90%}
@keyframes gmDigestShine{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.gm-digest__skel{animation:none}}
/* 结果 */
.gm-digest h3{font-family:'IBM Plex Mono',ui-monospace,Menlo,monospace;font-size:10px;letter-spacing:.2em;color:#8a8a85;font-weight:500;text-transform:uppercase;margin:14px 0 8px;display:flex;align-items:center;gap:10px}
.gm-digest h3::after{content:"";flex:1;height:1px;background:rgba(18,18,18,.12)}
.gm-digest__points{margin:0;padding:0;list-style:none;counter-reset:dg}
.gm-digest__points li{counter-increment:dg;position:relative;padding:0 0 9px 24px;font-size:13.5px;line-height:1.7}
.gm-digest__points li::before{content:counter(dg);position:absolute;left:0;top:2px;width:16px;height:16px;border-radius:50%;border:1px solid #121212;font-family:'IBM Plex Mono',ui-monospace,Menlo,monospace;font-size:9.5px;line-height:14px;text-align:center}
.gm-digest__quotes{margin:0;padding:0;list-style:none}
.gm-digest__quotes li{border-left:2px solid #FF4F00;padding:2px 0 2px 12px;margin-bottom:12px}
.gm-digest__quotes blockquote{margin:0 0 6px;font-family:'Noto Serif SC','Songti SC',serif;font-size:14.5px;line-height:1.75;font-weight:600;border:0;padding:0;background:none}
.gm-digest__mini{display:flex;gap:6px}
.gm-digest__mini button,.gm-digest__mini a{font-size:11.5px;color:#3a3a36;background:none;border:1px solid rgba(18,18,18,.18);border-radius:999px;padding:2px 10px;cursor:pointer;text-decoration:none;font-family:inherit;line-height:1.6}
.gm-digest__mini button:hover,.gm-digest__mini a:hover{border-color:#121212;color:#121212}
.gm-digest__mini .is-x{background:#0f0f0f;color:#fff;border-color:#0f0f0f}
.gm-digest__mini .is-x:hover{background:#FF4F00;border-color:#FF4F00;color:#fff}
.gm-digest__row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.gm-digest__row button,.gm-digest__row a{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12.5px;padding:8px 10px;border-radius:3px;border:1px solid rgba(18,18,18,.25);background:#fff;color:#121212;cursor:pointer;text-decoration:none;font-family:inherit;line-height:1.4;text-align:center}
.gm-digest__row button:hover,.gm-digest__row a:hover{border-color:#121212}
.gm-digest__row .is-x{background:#0f0f0f;color:#fff;border-color:#0f0f0f}
.gm-digest__row .is-x:hover{background:#FF4F00;border-color:#FF4F00}
.gm-digest__owner{margin-top:12px;padding-top:12px;border-top:1px dashed rgba(18,18,18,.18)}
.gm-digest__owner p{margin:0 0 8px;font-family:'IBM Plex Mono',ui-monospace,Menlo,monospace;font-size:9.5px;letter-spacing:.18em;color:#8a8a85;text-transform:uppercase}
.gm-digest__owner .gm-digest__row{margin-top:0}
.gm-digest__owner button.is-done{border-color:#2f7a4a;color:#2f7a4a}
.gm-digest__status{min-height:1.2em;margin:8px 0 0;font-size:12px;color:#2f7a4a}
.gm-digest__foot{margin:10px 0 0;font-size:11px;color:#8a8a85;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
.gm-digest__foot button{background:none;border:0;padding:0;color:#3a3a36;font-size:11px;text-decoration:underline;text-underline-offset:2px;cursor:pointer;font-family:inherit}
.gm-x-glyph{width:11px;height:11px;fill:currentColor;flex-shrink:0}
.gm-digest__status.is-bad{color:#b3261e}
.gm-digest__row button:disabled{opacity:.6;cursor:default}
.gm-digest[data-state="idle"] .gm-digest__status:empty,.gm-digest[data-state="loading"] .gm-digest__status:empty{display:none}
