/* Version: 20251225_193706 */
.thinking-block {
    margin: 8px 0 12px;
}

.thinking-summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 2px 0;
    border: none;
    background: transparent;
    color: rgba(235, 214, 152, 0.95);
    font-size: 0.95em;
    font-weight: 600;
    letter-spacing: 0.2px;
    list-style: none;
    user-select: none;
}

.thinking-summary::-webkit-details-marker {
    display: none;
}

.thinking-summary::marker {
    content: '';
}

.thinking-icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    color: #5b8cff;
}

.thinking-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.thinking-duration {
    font-weight: 500;
    opacity: 0.8;
}

.thinking-chevron {
    margin-left: 4px;
    font-size: 0.95em;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.thinking-block[open] .thinking-chevron {
    transform: rotate(90deg);
}

.thinking-text {
    margin-top: 10px;
    padding-left: 14px;
    border-left: 2px solid rgba(235, 214, 152, 0.35);
    color: rgba(235, 214, 152, 0.9);
    font-size: 0.95em;
    line-height: 1.7;
    word-break: break-word;
}

.thinking-text p {
    margin: 0 0 10px 0;
}

.thinking-text p:last-child {
    margin-bottom: 0;
}

.thinking-text ul,
.thinking-text ol {
    margin: 8px 0;
    padding-left: 18px;
}

.thinking-text li {
    margin: 6px 0;
}

.thinking-text li::marker {
    color: #5b8cff;
}

.light-theme .thinking-summary {
    color: #2c3e50;
}

.light-theme .thinking-icon {
    color: #3b6ae0;
}

.light-theme .thinking-text {
    border-left: 2px solid rgba(52, 73, 94, 0.35);
    color: #2c3e50;
}

.light-theme .thinking-text li::marker {
    color: #3b6ae0;
}
