.summary-button{flex-shrink:0;border:1px solid #b6ccb1;border-radius:10px;background:#edf4e7;color:#164d43;padding:9px 13px;font:inherit;font-size:13px;cursor:pointer}
.summary-history{display:grid;gap:8px;max-height:40vh;overflow:auto;margin-top:22px}.summary-history-item{display:grid;text-align:left;gap:6px;padding:14px;background:#f5f8f0;border:1px solid #dde5db;border-radius:10px;font:inherit;color:#164d43;cursor:pointer}.summary-history-item span{font-size:12px;color:#63756e}#summary-code-area{display:grid;gap:10px;margin:16px 0}#summary-code{font-family:monospace;width:100%;min-width:0;font-size:14px;box-sizing:border-box;padding:12px;border:1px solid #b6ccb1;border-radius:8px}
.summary-note,.summary-footnote,.summary-count,.summary-meta{font-size:13px;line-height:1.7;color:#63756e}
.summary-select-list{max-height:40vh;overflow:auto;border:1px solid #dde5db;border-radius:12px;margin:16px 0}
.summary-choice{display:flex;gap:12px;padding:13px;border-bottom:1px solid #e6ece3;cursor:pointer;align-items:flex-start}.summary-choice:last-child{border-bottom:0}.summary-choice input{flex:0 0 auto;width:17px;height:17px;margin-top:3px;accent-color:#164d43}.summary-choice>span{min-width:0}.summary-choice strong{display:block;font-size:12px;color:#617769;margin-bottom:5px}.summary-choice span span{display:block;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}
.summary-result{font:inherit;font-size:14px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f8f0;padding:18px;border-radius:12px;max-height:49vh;overflow:auto}.summary-status{display:inline-block;border-radius:20px;padding:5px 12px;color:#164d43;background:#e8f1de;font-size:12px}.summary-progress{padding:30px 0;color:#63756e;font-size:14px;line-height:1.7}.summary-footnote{font-size:11px;margin-top:15px}
@media(max-width:700px){.summary-button{padding:8px;font-size:12px}.chat-header:has(.summary-button) .header-badge{display:none}.summary-select-list{max-height:37vh}.summary-result{max-height:45vh}}
