.aips-summary {
    --aips-accent: #4f6ef7;
    --aips-card-bg: #f7f8fd;
    --aips-border: #e5e8f2;
    --aips-note: #9a9daa;
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.8;
    clear: both;
}

.aips-summary-card {
    background: var(--aips-card-bg);
    border: 1px solid var(--aips-border);
    border-radius: 12px;
    padding: 16px 18px;
}

.aips-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--aips-accent);
}

.aips-summary-head-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.aips-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: none;
    padding: 3px 9px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.aips-ai-badge svg {
    width: 14px;
    height: 14px;
    flex: none;
}

.aips-ai-name {
    white-space: nowrap;
}

.aips-ai-deepseek { color: #4d6bfe; }
.aips-ai-moonshot { color: #1a1a1a; }
.aips-ai-qwen { color: #082dff; }
.aips-ai-glm { color: #3859ff; }
.aips-ai-siliconflow { color: #6e29f6; }
.aips-ai-custom { color: var(--aips-accent); }

.aips-summary-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

.aips-summary-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.aips-summary-body {
    background: #fff;
    border: 1px solid var(--aips-border);
    border-radius: 8px;
    padding: 14px 16px;
    min-height: 60px;
}

.aips-summary-text,
.aips-summary-content {
    margin: 0;
    color: #333;
    word-break: break-word;
}

.aips-summary-text.is-typing::after,
.aips-summary-content.is-typing::after {
    content: "▍";
    color: var(--aips-accent);
    animation: aips-blink 1s step-end infinite;
}

@keyframes aips-blink {
    50% { opacity: 0; }
}

.aips-summary-note {
    margin: 10px 0 0;
    color: var(--aips-note);
    font-size: 12px;
    font-style: italic;
    line-height: 1.6;
}

.aips-summary-plain {
    padding: 0 0 14px;
    border-bottom: 1px dashed var(--aips-border);
}

.aips-summary-label {
    margin-bottom: 6px;
    color: var(--aips-accent);
    font-weight: 600;
}

.aips-summary-label:empty {
    display: none;
}
